const consult = require('../dao/ds_require');

const express = require('express');

const recReadingRouter = express.Router();
//获取知识点推荐
recReadingRouter.post('/getRecReading', async (req, res) => {
    const word = req.body;
    const result = await consult.getAllConsultList(word.word);
    console.log("【将要发给前端的单词推荐知识点】",result);
    res.send(result.data);
})

module.exports = recReadingRouter;
